package night_test;

import org.junit.Test;

public class 求数组内元素和 {
	
	public static void main(String[] args) {
		// 求数组最大
		
	}
	
	@Test
	public void 求数组最大() {
		int[] arrayA = new int[] {10,100,1000,10000,100000};
		int sum = 0;		
		for(int i = 0 ; i < arrayA.length; i++) {
			sum += arrayA[i];
		}
		System.out.println(sum);
	}
	

}
